﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Conta/ContaSitePublico.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WEB.Conta.Default" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">






    <asp:UpdatePanel ID="updPanel" runat="server">
        <ContentTemplate>

        <br clear="all" />
            <div align="center">
                <div class="alert-message error">
                    <asp:Label ID="lblErro" runat="server" Font-Bold="True"></asp:Label>
                </div>
                <div class="alert-message success">
                    <asp:Label ID="lblSucesso" runat="server" Font-Bold="True" ></asp:Label>
                </div>
                <div class="alert-message alert">
                    <asp:Label ID="lblAviso" runat="server" Font-Bold="True" ></asp:Label>
                </div>
            </div>


            <asp:MultiView ID="mtv" runat="server">
                 <asp:View ID="viewInicial" runat="server" >
                    <asp:Panel ID="pnlInicial" runat="server">
                        <div class="SubPaginaTotal">
                            <div class="SubPaginaTitulo">Meus Dados</div>
                            <div style="float:left; height:10px; width:650px; background-image:url(../Images/bg_pontilhado.png); margin:22px 0px 0px 10px;"></div>

                            <br clear="all" />

                            <div style="float:left; height:auto; width:100%">
                                <div style="float:left; height:auto; width:100%;">
                                    <div style="float:left; height:auto; margin-left:0px;">
                                        <asp:Label ID="Label1" runat="server" AssociatedControlID="txtEmail" Text="Email:"></asp:Label><br />
                                        <asp:TextBox ID="txtEmail" runat="server" Width="370px" CssClass="textBox" ></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RFV_txtEmail" ControlToValidate="txtEmail" runat="server" Display="None" ErrorMessage="Por favor, informe o campo Email!" ></asp:RequiredFieldValidator>
                                        <asp:ValidatorCalloutExtender ID="VCE_txtEmail" runat="server" Enabled="True" TargetControlID="RFV_txtEmail"> </asp:ValidatorCalloutExtender>
                                    </div>

                                    <div style="float:left; height:auto; margin-left:10px;">
                                        <asp:Label ID="Label2" runat="server" AssociatedControlID="txtNomeCompleto" Text="Nome Completo:"></asp:Label><br />
                                        <asp:TextBox ID="txtNomeCompleto" runat="server" Width="370px" CssClass="textBox" ></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RFV_txtNomeCompleto" ControlToValidate="txtNomeCompleto" runat="server" Display="None" ErrorMessage="Por favor, informe o campo Nome Completo!" ></asp:RequiredFieldValidator>
                                        <asp:ValidatorCalloutExtender ID="VCE_txtNomeCompleto" runat="server" Enabled="True" TargetControlID="RFV_txtNomeCompleto"> </asp:ValidatorCalloutExtender>
                                    </div>
                                </div>

                                <br clear="all" />

                                <div style="float:left; height:auto; width:100%;">
                                    <div style="float:left; height:auto; margin-left:0px;">
                                        <asp:Label ID="Label3" runat="server" AssociatedControlID="txtCPF" Text="CPF:"></asp:Label><br />
                                        <asp:TextBox ID="txtCPF" runat="server" Width="170px" CssClass="textBox" ></asp:TextBox>
                                        <asp:MaskedEditExtender ID="MEE_txtCPF" 
                                        runat="server" CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder="" 
                                        CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder="" 
                                        CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True"
                                        ClearMaskOnLostFocus="true"
                                        Mask="999,999,999-99" MaskType="None" TargetControlID="txtCPF">
                                        </asp:MaskedEditExtender>
                                        <asp:RequiredFieldValidator ID="RFV_txtCPF" ControlToValidate="txtCPF" runat="server" Display="None" ErrorMessage="Por favor, informe o campo CPF!" ></asp:RequiredFieldValidator>
                                        <asp:ValidatorCalloutExtender ID="VCE_txtCPF" runat="server" Enabled="True" TargetControlID="RFV_txtCPF"> </asp:ValidatorCalloutExtender>
                                    </div>
                                    <div style="float:left; height:auto; margin-left:10px;">
                                        <asp:Label ID="Label4" runat="server" AssociatedControlID="txtDtNascimento" Text="Dt. Nascimento:"></asp:Label><br />
                                        <asp:TextBox ID="txtDtNascimento" runat="server" Width="170px" CssClass="textBox" ></asp:TextBox>
                                        <asp:MaskedEditExtender ID="MEE_txtDtNascimento" 
                                        runat="server" CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder="" 
                                        CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder="" 
                                        CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True"
                                        ClearMaskOnLostFocus="true"
                                        Mask="99/99/9999" MaskType="Date" TargetControlID="txtDtNascimento">
                                        </asp:MaskedEditExtender>
                                        <asp:CalendarExtender ID="CE_txtDtInicial" runat="server"  Format="dd/MM/yyyy" TargetControlID="txtDtNascimento"></asp:CalendarExtender>
                                        
                                        <asp:RequiredFieldValidator ID="RFV_txtDtNascimento" ControlToValidate="txtDtNascimento" runat="server" Display="None" ErrorMessage="Por favor, informe o campo Data Nascimento!" ></asp:RequiredFieldValidator>
                                        <asp:ValidatorCalloutExtender ID="VCE_txtDtNascimento" runat="server" Enabled="True" TargetControlID="RFV_txtDtNascimento"> </asp:ValidatorCalloutExtender>
                                    </div>
                                    <div style="float:left; height:auto; margin-left:10px;">
                                        <asp:Label ID="Label5" runat="server" AssociatedControlID="txtTelefone" Text="Telefone:"></asp:Label><br />
                                        <asp:TextBox ID="txtTelefone" runat="server" Width="170px" CssClass="textBox" ></asp:TextBox>
                                        <asp:MaskedEditExtender ID="MEE_txtTelefone" 
                                        runat="server" CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder="" 
                                        CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder="" 
                                        CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True"
                                        ClearMaskOnLostFocus="true"
                                        Mask="(99) 9999-9999" MaskType="Number" TargetControlID="txtTelefone">
                                    </asp:MaskedEditExtender>
                                    
                                        <asp:RequiredFieldValidator ID="RFV_txtTelefone" ControlToValidate="txtTelefone" runat="server" Display="None" ErrorMessage="Por favor, informe o campo Telefone!" ></asp:RequiredFieldValidator>
                                        <asp:ValidatorCalloutExtender ID="VCE_txtTelefone" runat="server" Enabled="True" TargetControlID="RFV_txtTelefone"> </asp:ValidatorCalloutExtender>
                                    </div>
                                </div>
                            </div>


                            <br clear="all" />

                            <div style="float:left; height:auto; width:97.8%; margin:20px 0px 0px 0px; border-top:1px solid #CCC; padding:10px 0px 0px 0px;">
                                <asp:Button ID="btnSalvar" runat="server" Text="Salvar" CssClass="btn primary" OnClick="btnSalvar_CLick" />
                            </div>

                        </div>
                        <br clear="all" />
                    </asp:Panel>
                </asp:View>
            </asp:MultiView>
        </ContentTemplate>
    </asp:UpdatePanel>

    <!---->
    <asp:UpdateProgress DisplayAfter="1000" ID="updProgress" runat="server">
        <ProgressTemplate>
            <div class="updProgress">
            </div>
            <div class="updProgress_meio" id="updProgress_meio">
                <center>
                    <img ID="imgLoad" runat="server" src="~/Images/carregando.gif"/>
                    <br />
                    Executando processo...
                </center>
            </div>
        </ProgressTemplate>
    </asp:UpdateProgress>
</asp:Content>
